Optimal. Leaf size=98 \[ -\frac{2 a^{3/2} c^2 \tanh ^{-1}\left (\frac{\sqrt{a}}{x \sqrt{\frac{a}{x^2}+b x^n}}\right )}{n+2}+\frac{2 c^2 x^3 \left (\frac{a}{x^2}+b x^n\right )^{3/2}}{3 (n+2)}+\frac{2 a c^2 x \sqrt{\frac{a}{x^2}+b x^n}}{n+2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.171814, antiderivative size = 98, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.227, Rules used = {12, 2028, 2007, 2029, 206} \[ -\frac{2 a^{3/2} c^2 \tanh ^{-1}\left (\frac{\sqrt{a}}{x \sqrt{\frac{a}{x^2}+b x^n}}\right )}{n+2}+\frac{2 c^2 x^3 \left (\frac{a}{x^2}+b x^n\right )^{3/2}}{3 (n+2)}+\frac{2 a c^2 x \sqrt{\frac{a}{x^2}+b x^n}}{n+2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2028
Rule 2007
Rule 2029
Rule 206
Rubi steps
\begin{align*} \int c^2 x^2 \left (\frac{a}{x^2}+b x^n\right )^{3/2} \, dx &=c^2 \int x^2 \left (\frac{a}{x^2}+b x^n\right )^{3/2} \, dx\\ &=\frac{2 c^2 x^3 \left (\frac{a}{x^2}+b x^n\right )^{3/2}}{3 (2+n)}+\left (a c^2\right ) \int \sqrt{\frac{a}{x^2}+b x^n} \, dx\\ &=\frac{2 a c^2 x \sqrt{\frac{a}{x^2}+b x^n}}{2+n}+\frac{2 c^2 x^3 \left (\frac{a}{x^2}+b x^n\right )^{3/2}}{3 (2+n)}+\left (a^2 c^2\right ) \int \frac{1}{x^2 \sqrt{\frac{a}{x^2}+b x^n}} \, dx\\ &=\frac{2 a c^2 x \sqrt{\frac{a}{x^2}+b x^n}}{2+n}+\frac{2 c^2 x^3 \left (\frac{a}{x^2}+b x^n\right )^{3/2}}{3 (2+n)}-\frac{\left (2 a^2 c^2\right ) \operatorname{Subst}\left (\int \frac{1}{1-a x^2} \, dx,x,\frac{1}{x \sqrt{\frac{a}{x^2}+b x^n}}\right )}{2+n}\\ &=\frac{2 a c^2 x \sqrt{\frac{a}{x^2}+b x^n}}{2+n}+\frac{2 c^2 x^3 \left (\frac{a}{x^2}+b x^n\right )^{3/2}}{3 (2+n)}-\frac{2 a^{3/2} c^2 \tanh ^{-1}\left (\frac{\sqrt{a}}{x \sqrt{\frac{a}{x^2}+b x^n}}\right )}{2+n}\\ \end{align*}
Mathematica [A] time = 0.0678041, size = 94, normalized size = 0.96 \[ \frac{2 c^2 x \sqrt{\frac{a}{x^2}+b x^n} \left (\sqrt{a+b x^{n+2}} \left (4 a+b x^{n+2}\right )-3 a^{3/2} \tanh ^{-1}\left (\frac{\sqrt{a+b x^{n+2}}}{\sqrt{a}}\right )\right )}{3 (n+2) \sqrt{a+b x^{n+2}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.322, size = 0, normalized size = 0. \begin{align*} \int{c}^{2}{x}^{2} \left ({\frac{a}{{x}^{2}}}+b{x}^{n} \right ) ^{{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} c^{2} \int{\left (b x^{n} + \frac{a}{x^{2}}\right )}^{\frac{3}{2}} x^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} c^{2} \left (\int a \sqrt{\frac{a}{x^{2}} + b x^{n}}\, dx + \int b x^{2} x^{n} \sqrt{\frac{a}{x^{2}} + b x^{n}}\, dx\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b x^{n} + \frac{a}{x^{2}}\right )}^{\frac{3}{2}} c^{2} x^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]